package cn.com.yxw.webapp.service;

import cn.com.yxw.webapp.pojo.Admin;

/**
 * Created by xiaowei328 on 2015/5/15.
 */
public interface AdminService {

    /**
     * 查询用户
     * @param userName
     * @return
     */
    Admin selectAdminByUserName(String userName);

    /**
     * 根据用户名查询信息
     * @param userName
     * @return
     */
    Admin findByUsername(String userName);
}
